@charset "utf-8";

/***********************全局样式***********************/

a {
    transition: color 300ms ease;
    color: #444f58;
    
    &:hover {
        color: #eb413d;
    }
}

.web{
    width: 100%;    
    
//  header头部
    header{
        width: 100%;
        min-width: 1000px;
        height: 75px;
        border-bottom: 1px solid #dfdfdf;
        text-align: center;
        .logo{
            width: 5%;
            height: 55px;
            margin: 8px 0 0 20px;
        }
        nav{
            width: 70%;
            height: 100%;   
            padding-left: 12%;            
            &>ul{
                width: 70%;
                font-size: 15px;
                &>li{
                    width: 14%;
                    float: left;
                    position: relative;
                    &>a{
                        color: #444f58;
                        display: block;
                        line-height: 74px;
                        transition: 0.2s;
                        &:hover{
                            background: #e7e7e7;
                        }
                    }  
                    &:hover{
                        background: #e7e7e7;
                    }
                    &:hover .nav_classify{
                        display: block;
                    }
                    .nav_classify{
                        display: none;
                        background: #fff;
                        box-shadow: 0 0 5px rgba(0,0,0,0.5);
                        position: absolute;
                        top: 100%;
                        left: 0;
                        padding: 35px 0;
                        white-space: nowrap;
                        text-align: left;
                        z-index: 99;
                        overflow: hidden;
                        .classify{
                            display: inline-block;
                            margin-left: 60px;
                            &:first-child{
                                border-right: 1px solid #efefef;
                            }
                            ul{
                                width: 150px;
                                font-size: 14px;
                                display: inline-block;
                                vertical-align: top;
                                li{        
                                    width: 50%;                            
                                    line-height: 20px;
                                    margin-top: 20px;
                                    a{
                                        color: #444f58;
                                        &:hover{
                                            color: #eb413d;
                                        }
                                        strong{
                                            font-weight: bold;
                                        }
                                    }
                                }
                            }
                        }
                    }                  
                }
            }
            .search{
                width: 25%;
                padding: 24px 0 0 3%;
                position: relative;
                input{
                    width: 100%;
                    height: 26px;
                    border: 1px solid #dcdee0;
                    border-radius: 13px;
                    padding: 0 27px 0 13px;
                }
                a{
                    width: 26px;
                    height: 26px;
                    line-height: 26px;
                    border-radius: 50%;   
                    color: #fff;
                    background: #eb413d;
                    position: absolute;
                    top: 24px;
                    right: 0;
                }
            }
        }
        .nav_icon{
            width: 23%;
            height: 100%;
            border-left: 1px solid #dfdfdf;
            ul{
                li{
                    width: 22%;     
                    line-height: 74px;             
                    color: #878787;
                    border-right: 1px solid #dfdfdf;
                    float: left;
                    position: relative;
                    &:nth-child(3){
                            font-size: 12px;
                            width: 40%;
                        }
                    &:last-child{
                        width: 16%;
                        border: none;
                    }
                    &>a{            
                        color: #878787;      
                        display: block;
                        &:hover{
                            background: #e7e7e7;
                        }                    
                        b{
                            font-weight: normal;
                            font-size: 12px;
                            border: 1px solid #dfdfdf;
                            padding: 3px;
                        }
                    }
                    &:hover{
                        background: #e7e7e7;
                    }
                    &:hover .user{
                        display: block;
                    }
                    .user{
                        display: none;
                        padding: 10px 40px;
                        background: #fff;
                        box-shadow: 0 0 5px rgba(0,0,0,0.5);
                        position: absolute;
                        top: 100%;
                        left: 0;
                        z-index: 99;
                        a{
                            display: block;
                            line-height: 40px;
                            white-space: nowrap;
                            color: #444f58;
                            &:hover{
                                color: #eb413d;
                            }
                        }
                    }
                }
            }            
        }
    }
    
    .navigation{
        width: 100%;
        min-width: 1000px;
        height: 60px;
        border-bottom: 1px solid #dfdfdf; 
        .link{       
            width: 1000px;
            margin: 0 auto;
            a{
                font-size: 13px;
                line-height: 60px;
                color: #444f58;
                margin-right: 5px;
                &:last-child{
                    color: #99999a;
                }
                &:hover{
                    color: #eb413d;
                }
            }
        }
    }
    
//  section中间主体内容
    section{
        width: 1000px;
        margin: 0 auto;
        padding-bottom: 40px;
    }
        
//  footer底部
    footer{
        min-width: 1000px;
        height: 250px;
        color: #fff;
        background: #eb413d;
        padding-top: 50px;
        text-align: center;
        .content{
            width: 550px;
            height: 90px;
            margin: 0 auto;
            .foot_logo{
                width: 132px;
                height: 90px;
                border-right: 1px solid #f07471;
                text-align: left;
            }
            .link{
                width: 418px;                
                ul{
                    list-style: disc;
                    font-size: 12px;
                    margin-left: 55px;
                    padding-top: 3px;
                    float: left;
                    li{
                        margin-bottom: 5px;
                        a{
                            color: #fff;
                        }
                    }
                }
            }
        }
        .copyright{
            margin-top: 60px;
            font-size: 12px;
        }
    }
}